package com.wzcl.app.utils;

/**
 * @author beingven
 * @Description TODO
 * @createTime 2020年12月04日 11:41:00
 */
public class NumberUtil {
    //去除Double之后的0
    public static Double getNumberRemoveZero(Double value){
        return Double.valueOf(value.toString().substring(0,value.toString().indexOf('.')));
    }

    public static void main(String[] args) {
        System.out.println(Double.valueOf(getNumberRemoveZero(3.244854039485)));
    }
}